package com.wonders.hisdoctor.station.project.laboratory.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.wonders.his.common.config.jackson.DecimalFormat;
import com.wonders.his.common.utils.validator.group.PrimaryGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhaogongming
 * @date 2021-02-04
 **/
@ApiModel("联动右侧表格数据返回")
@Data
public class LaboratoryResponseVo implements Serializable {

    @ApiModelProperty("项目名称")
    private String itemName;

    @ApiModelProperty("项目编码")
    private String itemCode;

    @ApiModelProperty("科室名称")
    private String deptName;

    @ApiModelProperty("科室代码")
    private String deptCode;

    @ApiModelProperty("标本名称")
    private String specimanName;

    @ApiModelProperty("标本代码")
    private String specimen;

    @ApiModelProperty("金额")
    @DecimalFormat(scale = 2)
    private BigDecimal price;

    @ApiModelProperty("流水号：对应OUTP_ORDERS中的流水号")
    private String serialNo;

    @ApiModelProperty("项目序号：同一就诊记录中检查治疗的顺序号")
    private Integer itemNo;

    @ApiModelProperty("数量")
    private Integer amount;

    @ApiModelProperty("医生编号")
    private String empNo;

    @ApiModelProperty("开单医生")
    private String doctor;

    @ApiModelProperty("申请日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date visitDate;

    @ApiModelProperty("收费标记：1-已收，0-未收")
    private Integer chargeIndicator;

    @ApiModelProperty("申请科室")
    private String orderedByDeptName;

    @ApiModelProperty("组合名称")
    private String sheetTitle;

    @ApiModelProperty("检验申请单号")
    private String appointNo;

    @ApiModelProperty("检验申请单序号")
    private Integer appointItemNo;

    @ApiModelProperty("规格")
    private String itemSpec;

    @ApiModelProperty("检验单唯一标识")
    private String labSheetId;

}
